package com.sanweibook.jhook.common.tool.excel.support;

import lombok.Data;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFDataFormat;
import org.apache.poi.hssf.usermodel.HSSFSheet;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by twg on 2017/9/9.
 */
@Data
public class ExcelConfigure implements Serializable {
    /*行号*/
    private int rowNum;
    /*工作表*/
    private HSSFSheet sheet;
    /*单元格样式*/
    private HSSFCellStyle cellStyle;
    /*数据格式化，如日期格式化，金额格式化等*/
    private HSSFDataFormat dataFormat;
    /*需要填充的内容*/
    private Map<Integer, Object> valueMap;
    /*excel上下文，获取列的名称、索引、格式化格式等*/
    private Map<Integer, ExcelContext> contextMap;

}
